package com.xxx.util;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

/**
 * @version v1.0
 * @Description
 * @Author admin
 * @date 2021/7/29  11:53
 * @Copyright
 */
public class DbUtil {
    public static Connection getConnection() throws SQLException {
        return DriverManager.getConnection("jdbc:mysql://localhost:3306/lpp", "root", "123456");
    }
}
